package com.android.rapidcash.dialog
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import com.rapidcash.abanca.santander.vivus.revolut.waylet.libertex.icmarkets.caixabank.R

class MoreDialog(
    private val context: Context,
    private val dialogListener: (String) -> Unit
) : Dialog(context, R.style.NormalDialogStyle) {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        initView()
    }

    private fun initView() {
        val view = View.inflate(context, R.layout.dialog_more, null)
        setContentView(view)

        view.findViewById<ImageView>(R.id.iv_1).setOnClickListener {
            dismiss()
            dialogListener.invoke("")
        }
    }


}




